import request from '@/utils/request'

// 查询教学评价学生评价总分列表
export function listStuAppraiseOptions(query) {
  return request({
    url: '/edu/stuAppraiseOptions/list',
    method: 'get',
    params: query
  })
}

// 查询教学评价学生评价总分详细
export function getStuAppraiseOptions(recordOptionId) {
  return request({
    url: '/edu/stuAppraiseOptions/' + recordOptionId,
    method: 'get'
  })
}

// 新增教学评价学生评价总分
export function addStuAppraiseOptions(data) {
  return request({
    url: '/edu/stuAppraiseOptions',
    method: 'post',
    data: data
  })
}

// 修改教学评价学生评价总分
export function updateStuAppraiseOptions(data) {
  return request({
    url: '/edu/stuAppraiseOptions',
    method: 'put',
    data: data
  })
}

// 删除教学评价学生评价总分
export function delStuAppraiseOptions(recordOptionId) {
  return request({
    url: '/edu/stuAppraiseOptions/' + recordOptionId,
    method: 'delete'
  })
}

// 导出教学评价学生评价总分
export function exportStuAppraiseOptions(query) {
  return request({
    url: '/edu/stuAppraiseOptions/export',
    method: 'get',
    params: query
  })
}